﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserProfile.aspx.cs" Inherits="UserProfile"
    MasterPageFile="~/Default.master" EnableViewState="false" %>

<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dxcb" %>
<asp:Content ContentPlaceHolderID="head" ID="hd" runat="server" EnableViewState="false">

    <script src="UserProfile.js" type="text/javascript"></script>

    

    <script src="js/FileUpload.js" type="text/javascript"></script>
    <script src="js/LOV.js" type="text/javascript"></script>

    <script src="js/Datetimepicker.js" type="text/javascript"></script>
    <link href="UserProfile.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ContentPlaceHolderID="leftMenu" ID="leftnav" runat="server" EnableViewState="false">
    <%  Response.Write(GenerateSideMenu("?cid", m_sxUID)); %>
</asp:Content>
<asp:Content ContentPlaceHolderID="content" ID="ctnUserProfile" runat="server"
    EnableViewState="false">
    <input type="hidden" id="hidUserId" value="<% Response.Write(m_sxUID); %>" />
    <div id="pnlUserTitle" runat="server"></div>
    <fieldset class="m_fs_border" id="fs_UserProfile">
        <legend>
            <a class="lnk" href="javascript:toggle('UserProfile');">
                User Profile</a>
        </legend>
        <dl class="m_fs">
            <div id="div_UserProfile">
                <% Response.Write(m_ud.BuildEditor_UserProfile()); %>
            </div>
        </dl>
        <dxcb:ASPxCallback ID="cbkUserProfile" ClientInstanceName="cbkUserProfile_c" runat="server"
            OnCallback="cbkUserProfile_Callback">
            <ClientSideEvents CallbackComplete="function(s, e) { cbkUserProfile_c_CallbackComplete(e); }" />
        </dxcb:ASPxCallback>
        <div id="lnkdscd_UserProfile" class="lnk" style="float: right; margin-left: 5px;"
            onclick="UserProfile_Discard();" visible="false">
            discard</div>
        <div id="lnkedit_UserProfile" class="lnk" style="float: right; margin-left: 5px;" onclick="UserProfile_OnClick();">
            save</div>
        <div id="lnkadd_UserProfile" class="lnk" style="float: left; margin-left: 15px;"
            onclick="AddUserProfile();">
            add info++</div>
        <div id="load_UserProfile" style="float: right; padding-right: 10px;">
        </div>
    </fieldset>
</asp:Content>
